package com.mercury.pattern._10_flyweight;

/**
 *
 */
public class ConcreteWebSite extends WebSite {

    public ConcreteWebSite(String type) {
        super(type);
    }

    @Override
    public void use(User user) {
        System.out.println(type + "使用中..." + " 使用者为：" + user.getName());
    }
}